"use strict";
cc._RF.push(module, '2398aVe9B5G9alh4lPVJBBx', 'RestartContent');
// scripts/RestartContent.js

"use strict";

var e = require;
var t = module;
var n = i(e("DataMgr")),
    o = i(e("SoundMgr"));

function i(e) {
  return e && e.__esModule ? e : {
    "default": e
  };
}

cc.Class({
  "extends": cc.Component,
  onEnable: function onEnable() {
    SDK.Base.Event.emit("PanelOpen");
  },
  onRestartGameButtonDown: function onRestartGameButtonDown() {
    o["default"].Instance.playSoundClip(AssetManager.Instance.AudioClips[0]);
    n["default"].isRestart = !0;
    this.reLoadGame();
  },
  reLoadGame: function reLoadGame() {
    SDK.Base.Event.emit("PanelClose");
    cc.director.loadScene("GameScene");
  }
});

cc._RF.pop();